package org.jeecg.modules.basedata.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.api.vo.Result;
import org.jeecg.entity.basedata.RentContract;

import java.util.List;
import java.util.Map;

/**
 * @Description: 租赁合同
 * @Author: jeecg-boot
 * @Date:   2021-06-29
 * @Version: V1.0
 */
public interface IRentContractService extends IService<RentContract> {

    List<RentContract> findPage(Page<RentContract> page, RentContract rentContract);

    Result<RentContract> saveRentContract(RentContract rentContract);

    Result<RentContract> delRentContract(String id);

    Result<RentContract> updateRentContract(RentContract rentContract);

    Page<RentContract> queryContractFeeList(Page<RentContract> pageList, RentContract rentContract);

    List<RentContract> getAllContractInfo( String projectId);

    List<RentContract> getContractInfo(List<String> contractIds, String feeId);

    List<RentContract> selectByMap(Map<String, Object> columnMap);

    Page<RentContract> getContractList(Page<RentContract> pageList, String projectId,String feeRuleId,String roomId,String floorId);

    List<RentContract> selectByRentContract(RentContract rentContract);

}
